package person;

import java.io.*;

public class PersonInfo implements Serializable{
    int height;
    int weight;
    int chestSize;
    int hipSize;
    int armSize;
    int legSize;
    int bodyfat;
    float numOfBMI;
    int numOfWHR;
    int numOfPBF;
    
    public int getHeight() {
        return height;
    }
    public void setHeight(int height) {
        this.height = height;
    }
    public int getWeight() {
        return weight;
    }
    public void setWeight(int weight) {
        this.weight = weight;
    }
    public int getChestSize() {
        return chestSize;
    }
    public void setChestSize(int chestSize) {
        this.chestSize = chestSize;
    }
    public int getHipSize() {
        return hipSize;
    }
    public void setHipSize(int hipSize) {
        this.hipSize = hipSize;
    }
    public int getArmSize() {
        return armSize;
    }
    public void setArmSize(int armSize) {
        this.armSize = armSize;
    }
    public int getLegSize() {
        return legSize;
    }
    public void setLegSize(int legSize) {
        this.legSize = legSize;
    }
    public int getBodyfat() {
        return bodyfat;
    }
    public void setBodyfat(int bodyfat) {
        this.bodyfat = bodyfat;
    }
    public float getNumOfBMI() {
        return numOfBMI;
    }
    public void setNumOfBMI(int numOfBMI) {
        this.numOfBMI = numOfBMI;
    }
    public int getNumOfWHR() {
        return numOfWHR;
    }
    public void setNumOfWHR(int numOfWHR) {
        this.numOfWHR = numOfWHR;
    }
    public int getNumOfPBF() {
        return numOfPBF;
    }
    public void setNumOfPBF(int numOfPBF) {
        this.numOfPBF = numOfPBF;
    }
    
    public void setBMI() {
	float heightMeter = (float)height/100;
	this.numOfBMI = (float)weight/(heightMeter*heightMeter);
    }
    
    public void setWHR() {
	
    }
    
    public void setPBF() {
	
    }
    
    
}
